wrap_cairo
is an Eiffel binding of Cairo C API
using WrapC tool.
Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System (via both Xlib and XCB), quartz, win32, and image buffers, as well as PDF, PostScript, and SVG file output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.
- WrapC tool.
- Cairo C API
sudo apt-get update
sudo apt-get install libcairo2-dev
vcpkg install cairo:x64-windows
Work in progress
Cairo tutorial derived from Michael Urman's cairo tutorial for python programmers
Before to use the examples you will need to compile the C glue code, go to
library/generated_wrapper/c/src
and run
finish_freezing --library
It will copy the C lib eif_cairo.a
to $ECF_CONFIG_PATH/C/spec/$(ISE_PLATFORM)/lib/
or eif_cairo.lib
to $ECF_CONFIG_PATH/C/spec/$ISE_C_COMPILER/$ISE_PLATFORM/lib